CREATE TABLE [dbo].[EventSponser]
(
[EventId] [int] NOT NULL,
[SponserId] [int] NOT NULL
) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_EventSponser] ON [dbo].[EventSponser] ([EventId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[EventSponser] ADD CONSTRAINT [FK_EventSponser_Event] FOREIGN KEY ([EventId]) REFERENCES [dbo].[Event] ([Id])
GO
ALTER TABLE [dbo].[EventSponser] ADD CONSTRAINT [FK_EventSponser_Sponser] FOREIGN KEY ([SponserId]) REFERENCES [dbo].[Sponser] ([Id])
GO
